package com.mall.b2c.bean;

import com.mall.b2c.domain.goods.TagDomain;

public class TagBean {
	
	private Long id; // 标签id
	private String name; // 标签名称

	public TagBean() {
	}
	
	public TagBean(TagDomain tag) {
		if(tag != null){
			this.id = tag.getId();
			this.name = tag.getName();
		}
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
